import {getMovieRequest} from '../../api'
import store from '../store'

export const movieActions =()=>{
    return async()=>{
     const re = await getMovieRequest();
        store.dispatch({
            type:'getMovieList',
            data:re.data.data.list
        })
    }
}